package com.zyms.controller.web;

import com.zyms.controller.baseController.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Baggio on 2018-1-25.
 */
@RequestMapping("/")
@Controller
public class WebIndexController extends BaseController {

    @RequestMapping(value="/index")
    public ModelAndView index(Long activityId) {
        logger.info("=============================index==============================================>>>>>>"+activityId);
        ModelAndView mov=new ModelAndView();

      String sessionId=session.getId();
      logger.info("sessionID========================>>>>"+sessionId);
        mov.setViewName("web/index");
        return mov;
    }
}
